cmake_minimum_required(VERSION 3.0.2)
project(bsplines_python)
add_definitions(-w)
find_package(catkin REQUIRED COMPONENTS
  bsplines
  numpy_eigen
  python_module
  sparse_block_matrix
  sm_common
  sm_kinematics
)

catkin_package()

include_directories(${catkin_INCLUDE_DIRS})

# Set up the python exports.
SET(PY_PROJECT_NAME bsplines_python)
SET(PY_PACKAGE_DIR python/bsplines)

add_python_export_library(${PY_PROJECT_NAME} ${PY_PACKAGE_DIR}
  src/SplinePython.cpp
  src/BSplinePython.cpp
  src/BSplinePosePython.cpp
)
